
import {http} from "@/utils";

function loginFormAPI(loginForm) {
  return  http({
        method:"POST",
        url:'/authorizations',
        data:loginForm
    })
}

function getUserProfile(){
    return http({
        url:'/user/profile',
        method:'GET'
    })
}



export {
    loginFormAPI,getUserProfile
}